<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta http-equiv="Content-Type"  content="multipart/form-data; charset=utf-8" />
    <title>项目案例</title>
  </head>
  <script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=HtQ5fGSiGEbNpI5V851CatYg4D3iHDyR"></script>  
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
        let u = navigator.userAgent
    let isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1 // android终端
  
    if (!isAndroid && window.webkit) { // ios平台
      if (window.fwLoginCallBack) delete window.fwLoginCallBack
      // 监听用户登录信息
      window.fwLoginCallBack = function (result) {
        window.localStorage.setItem('userInfo', JSON.stringify(result))
      }
    }
    //禁止双指放大
    document.documentElement.addEventListener('touchstart', function (event) {
      if (event.touches.length > 1) {
        event.preventDefault();
      }
    }, false);
    // 禁止双击放大

    var lastTouchEnd = 0;
    document.documentElement.addEventListener('touchend', function (event) {
      var now = Date.now();
      if (now - lastTouchEnd <= 300) {
        event.preventDefault();
      }
      lastTouchEnd = now;
    }, false);
  </script>
</html>
